﻿#ifndef MRWIDGET_H
#define MRWIDGET_H

#include "mreditdialog.h"
#include "mradddialog.h"

#include <QWidget>
#include <QTableWidget>
#include <QTableWidgetItem>
#include <QKeyEvent>
#include <QtSql>
#include <QStringList>
#include <QPrinter>
namespace Ui {
class MRWidget;
}

class MRWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MRWidget(QWidget *parent = 0);
    ~MRWidget();
    static int identification;
    void MaterialReceive();
    QString MRsaveHtmlToPDF(QString Q);
public slots:
    void MRshowdatabase();

private slots:
    void MRshowsort(int clounm);

    void on_MReditbtn_clicked();

    void on_MRseekbtn_clicked();

    void on_MRdeletebtn_clicked();

    void on_MRaddbtn_clicked();

    void on_MRendCB_clicked();

    void on_MRstartCB_clicked();

    void on_MRpreviewbtn_clicked();
//ms//////////////////////////////

signals:
    void sendData(QStringList);
private:
    Ui::MRWidget *ui;
};

#endif // MRWIDGET_H
